Skip to content

Deployments - #98

Merged
pepebndc merged 2 commits into
mainfrom
deployments
Jun 27, 2026
Merged

Deployments#98
pepebndc merged 2 commits into
mainfrom
deployments

Conversation

@luiz-lvj

@luiz-lvj luiz-lvj commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Update scripts and add deployments for Unichain and Worldchain Sepolia and Mainnet

Summary by CodeRabbit

  • New Features
    • Added support for deploying and configuring Unichain and Worldchain across mainnet and testnet environments.
    • Expanded deployment templates and network mappings so these chains can be included in setup and rollout flows.
    • Updated deployment scripts to cover additional contract deployments and cross-chain components for the new networks.
    • Added support for the new networks in chain-name detection and related deployment routing.

@luiz-lvj
luiz-lvj requested a review from pepebndc June 27, 2026 01:21
@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2a49c02e-9605-436f-b405-3be78f8e1758

📥 Commits

Reviewing files that changed from the base of the PR and between f7aaad8 and 5fbef8d.

📒 Files selected for processing (28)
  • .env.mainnet.example
  • .env.testnet.example
  • deployments/arbitrum-sepolia.json
  • deployments/arbitrum.json
  • deployments/base-sepolia.json
  • deployments/base.json
  • deployments/ethereum-sepolia.json
  • deployments/ethereum.json
  • deployments/linea-sepolia.json
  • deployments/linea.json
  • deployments/optimism-sepolia.json
  • deployments/optimism.json
  • deployments/scroll-sepolia.json
  • deployments/scroll.json
  • deployments/unichain-sepolia.json
  • deployments/unichain.json
  • deployments/worldchain-sepolia.json
  • deployments/worldchain.json
  • deployments/zksync-sepolia.json
  • deployments/zksync.json
  • foundry.toml
  • remappings.txt
  • scripts/deployment/DeployBase.s.sol
  • scripts/deployment/block-hash-pusher/DeployBuffers.s.sol
  • scripts/deployment/block-hash-pusher/DeployPushers.s.sol
  • scripts/deployment/deploy.sh
  • scripts/deployment/provers/deploy-child-provers.sh
  • scripts/deployment/provers/deploy-parent-provers.sh

📝 Walkthrough

Walkthrough

The PR adds Unichain and Worldchain support to deployment templates, deployment manifests, Foundry/remapping settings, and deployment scripts. It also adds new deployment JSON files and extends existing copy, pusher, and prover mappings for mainnet and testnet.

Changes

Unichain and Worldchain deployment support

Layer / File(s) Summary
Chain templates and build plumbing
.env.mainnet.example, .env.testnet.example, foundry.toml, remappings.txt, scripts/deployment/DeployBase.s.sol
The env templates add Unichain and Worldchain RPC and chain settings; Foundry, remappings, and _chainName support the new chain IDs.
Mainnet deployment manifests
deployments/arbitrum.json, deployments/base.json, deployments/ethereum.json, deployments/linea.json, deployments/optimism.json, deployments/scroll.json, deployments/unichain.json, deployments/worldchain.json, deployments/zksync.json
Mainnet manifests add unichain and worldchain copy entries across the existing chain JSONs, extend Ethereum's pusher and prover mappings, and add populated unichain.json and worldchain.json configs.
Sepolia deployment manifests
deployments/arbitrum-sepolia.json, deployments/base-sepolia.json, deployments/ethereum-sepolia.json, deployments/linea-sepolia.json, deployments/optimism-sepolia.json, deployments/scroll-sepolia.json, deployments/unichain-sepolia.json, deployments/worldchain-sepolia.json, deployments/zksync-sepolia.json
Sepolia manifests add unichain-sepolia and worldchain-sepolia copy entries, extend Base and Ethereum testnet mappings, and add populated unichain-sepolia.json and worldchain-sepolia.json configs.
Deployment orchestration and chain helpers
scripts/deployment/deploy.sh, scripts/deployment/block-hash-pusher/DeployBuffers.s.sol, scripts/deployment/block-hash-pusher/DeployPushers.s.sol
deploy.sh adds Unichain and World Chain branches for protocol, prover, and buffer deployment; DeployBuffers accepts both chain types, and DeployPushers adds Unichain and World messenger and chain-id handling plus conditional pusher deployment.
Prover deployment scripts
scripts/deployment/provers/deploy-parent-provers.sh, scripts/deployment/provers/deploy-child-provers.sh
The parent and child prover scripts add Unichain and World forge script runs, wiring the corresponding RPC, anchor, target-chain, and verification variables.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~30 minutes

Possibly related PRs

Suggested reviewers

  • frangio
  • nahimterrazas
  • pepebndc

Poem

I hopped through scripts by moonlit light,
Unichain and Worldchain joined the flight.
The manifests rustled, the RPCs sang,
New proof paths twinkled as the deploys rang.
🐇 Hop-hop, the ledger held tight!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too generic and does not describe the Unichain/Worldchain deployment changes. Rename it to something specific, like "Add Unichain and Worldchain deployments".
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch deployments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pepebndc
pepebndc merged commit 5963b46 into main Jun 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants